import 'package:azlistview/azlistview.dart';
import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/car_entity.g.dart';
import 'dart:convert';

import 'package:library_base/entities/generated/json/suppliers_shops_list_entity.g.dart';

@JsonSerializable()
class SuppliersShopsListEntity{
  late String id;
  late String supplierId;
  late String shopName;
  late String priceModel;
  late double amount;
  late String orderTaker;
  late String orderTakerName;
  late String address;
  late String mallShopId;

  bool isSelected = false;

  SuppliersShopsListEntity();

  factory SuppliersShopsListEntity.fromJson(Map<String, dynamic> json) => $SuppliersShopsListEntityFromJson(json);

  Map<String, dynamic> toJson() => $SuppliersShopsListEntityToJson(this);

  @override
  String toString() => json.encode(this);

}
